<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>${contextName }</title>
	 <meta name="renderer" content="webkit">
	 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	 <link rel="stylesheet" href="${webRoot }/layui/css/layui.css"  media="all">
	  <style>
	  	html,body{
	  		height:100%;
	  		margin:0px;
	  		padding:0px;
	  	}
	 	.main{
	 		width:750px;
	 		min-height:420px;
	 	}
	 </style>
</head>
<body>
<div style="width:1000px;background-color: white;margin: auto;height:98%;">
  
<div class="main">
	<table class="layui-table" lay-skin="line">
  <colgroup>
    <col width="800">
    <col>
  </colgroup>
  <thead>
    <tr>
      <th>竞赛通知</th>
    </tr> 
  </thead>
  <tbody>
	<c:forEach var="competition" items="${pagination.items }">
    <tr>
      <td><a href="${webRoot}/competition/detail?id=${competition.id }">${competition.title }</a></td>
    </tr>
    </c:forEach>
  </tbody>
</table> 
${pagination.render } 
 </div>
 </div>


</body>
</html>